package com.xiaoshuidi.cloud.module.finance.controller.admin.invoice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class FinanceInvoiceFeeTaxReqVO {
    @NotNull(message = "税号id不能为空")
    @Schema(description = "税号id")
    private Integer id;
    @NotNull(message = "费项及税率不能为空")
    @Size(min = 1, message = "费项及税率不能为空")
    @Schema(description = "费项及税率")
    private List<FinanceInvoiceTaxRateVO> taxes;
}
